﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using Chowpoo.Sql;

namespace CourseSystem.Core.Entities
{
    [Table(Name = "GradeYear")]
    public partial class GradeYearInfo:IDetach
    {
        public GradeYearInfo()
        { }
        #region Model
        private int _id;
        private int _year = 0;
        /// <summary>
        /// 
        /// </summary>
        [Column(IsDbGenerated = true, IsPrimaryKey = true, IsVersion = true)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Column]
        public int Year
        {
            set { _year = value; }
            get { return _year; }
        }
        #endregion Model

        public void Detach()
        {
            
        }
    }
}
